home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: Peter Hammond <100443.2074@CompuServe.COM>
- Newsgroups: comp.lang.c++
- Subject: ostream & streambuf inheritance
- Date: 1 Apr 1996 10:33:11 GMT
- Organization: Cygnus Intruments Ltd
- Message-ID: <4jobd7$h0e$3@mhafc.production.compuserve.com>
-
- Hi all,
- 1) Is there a FAQ?
- 2) I am trying to derive from streambuf to create an ostream like
- class for output to a DOS graphics screen, using the Borland
- graphics functions. The problem is, my steambuf::overflow
- overload works fine, but it is not getting called when I flush
- the stream:
- class graphstream : public ostream
- {
-
- --
- Cygnus Instruments Ltd Ultrasonic NDT Equipment
- 30 Prince of Wales Rd, Dorchester, Dorset DT1 1PW
- England
- Tel +44 (0)1305 265533 Fax +44 (0)1305 269960
-